<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<div>
    <spring:message code="console.webapp.label.comment"/> |
    <a href="/comment/${comment.id}/edit"><spring:message code="console.webapp.label.edit"/></a> |
    <a href="/comment/${comment.id}/remove"><spring:message code="console.webapp.label.remove"/></a>
</div>
<ul>
    <li><b><spring:message code="console.webapp.label.id"/></b> ${comment.id}</li>
    <li><b><spring:message code="console.webapp.label.createdDate"/></b> ${comment.createdDate}</li>
    <li><b><spring:message code="console.webapp.label.lastUpdateDate"/></b> ${comment.lastUpdateDate}</li>
    <li><b><spring:message code="console.webapp.label.book"/></b> <a href="/book/${comment.book.id}">${comment.book.title}</a></li>
    <li><b><spring:message code="console.webapp.label.reader"/></b> <a href="/reader/${comment.reader.id}">${comment.reader.firstName} ${comment.reader.lastName}</a></li>
    <li><b><spring:message code="console.webapp.label.title"/></b> ${comment.title}</li>
    <li><b><spring:message code="console.webapp.label.content"/></b> ${comment.content}</li>
</ul>